<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl"  lang="pl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript" src="http://dev.jquery.com/view/trunk/plugins/validate/jquery.validate.js"></script>
<style type="text/css">
	.block{display:block;}
</style>
</head>
<body>
<?php 
include_once('class.form.php');
include_once('class.register.php');


//$usereg = new Register(basename($_SERVER['PHP_SELF']),'post');

//$usereg->userRegister(); 
//$usereg->getValidator();
//$usereg->showForm();
echo '<hr />';
$compreg = new Register(basename($_SERVER['PHP_SELF']),'post');

$compreg->simpleUserReg(); 
$compreg->getValidator();
$compreg->showForm();

?>
</body>
</html>